/*
 * @author: wizardc
 */

using System;
using UnityEngine;

namespace DouEditor.Resource
{
    /// <summary>
    /// 动态设置的着色器变体配置
    /// </summary>
    [CreateAssetMenu(fileName = "DynamicShaderVariant", menuName = "Dou/Resource/Create Dynamic Shader Variant")]
    public class DynamicShaderVariant : ScriptableObject
    {
        public DynamicShaderVariantItem[] items;
    }

    [Serializable]
    public class DynamicShaderVariantItem
    {
        public Shader shader;
        public string[] keywords;
    }
}
